//
//  MileSeletor.h
//  iphoneTravelTour
//
//  Created by chen jiedan on 13-1-8.
//  Copyright (c) 2013年 Baidu. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MileSeletorDelegate  <NSObject>

-(void) didSelectMileSeletorAtIndex:(NSInteger) level;
@end

@interface MileSeletor : UIView

@property (nonatomic, assign) id<MileSeletorDelegate> delegate;

- (id)initWithFrame:(CGRect)frame andDataSource:(NSArray *) distanceArray;

- (void) setDefaultBtnClick:(NSInteger)index;
- (void) showInView:(UIView *)view;
@end
